<?xml version="1.0" encoding="UTF-8"?>
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/templates/default.xhtml"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">

	<f:metadata>

	</f:metadata>

	<ui:define name="head">

	</ui:define>

	<ui:define name="content">
		<p:panel header="中介服务交易平台项目表">
			<p:dataTable value="#{agreedBulletinList.resultList}" var="_bulletin" rowIndexVar="_rowIndex">
				<p:column headerText="序号" width="30">
					<h:outputText value="#{_rowIndex + 1}" />
				</p:column>
				
				<p:column headerText="采购项目名称" width="300">
					<h:outputText value="#{_bulletin.projectName}" />
				</p:column>
				
				<p:column headerText="采购单位" width="360">
					<h:outputText value="#{_bulletin.buyer.cnname}" />
				</p:column>
				
				<p:column headerText="业务类型" width="80">
					
				</p:column>
				
				<p:column headerText="选取方式" width="60">
					<h:outputText value="#{_bulletin.wayOfChoose.typeName}" />
				</p:column>
				
				<p:column headerText="中选机构" width="360">
					<h:outputText value="#{_bulletin.successTrade.supplier.cnname}" />
				</p:column>
				
				<p:column headerText="选取时间" width="130">
					<h:outputText value="#{_bulletin.chooseTime}">
						<f:convertDateTime pattern="yyyy-MM-dd HH:mm"/>
					</h:outputText>
				</p:column>
				
				<p:column headerText="服务金额（元）" width="100">
					<p:outputPanel style="text-align: right;">
						<h:outputText value="#{_bulletin.price}">
							<f:convertNumber maxFractionDigits="0" groupingUsed="true"/>
						</h:outputText>
					</p:outputPanel>
				</p:column>
			</p:dataTable>
		</p:panel>
	</ui:define>

</ui:composition>